﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RedHouse.Data.Entities;
using RedHouse.Data.Common;

namespace RedHouse.Data.Service
{
    public interface INewsService
    {
        RedHouseNews GetNewsById(Guid id);
        List<RedHouseNews> GetAllNewsByGroup(int group);
        List<RedHouseNews> GetAllNewsByState(int state);
        OperationResult SaveNews(RedHouseNews news);
        OperationResult UpdateNews(RedHouseNews news);
        OperationResult DeleteNews(Guid id);
    }
}
